package com.waigoulin.domain.order.service;


import com.alipay.api.AlipayApiException;
import com.waigoulin.domain.order.model.entity.PayOrderEntity;
import com.waigoulin.domain.order.model.entity.ShopCartEntity;

import java.util.List;

/**
 * @FileName IOrderService
 * @Description 订单服务领域层接口
 * @Author waigoulin
 * @date 2025-07-31
 **/
public interface IOrderService {

    PayOrderEntity createPayOrder(ShopCartEntity shopCartEntity) throws AlipayApiException;

    void changeOrderPaySuccess(String orderId);

    List<String> queryNoPayNotifyOrder();

    List<String> queryTimeoutCloseOrderList();

    boolean changeOrderClose(String orderId);
}
